package com.ujoku.service;

import com.labillusion.core.database.base.mybatis.service.base.BaseService;
import com.ujoku.domain.Message;

import java.util.Map;

/**
 * Created by Greg.Chen on 2015/3/2.
 */
public interface MessageService<T> extends BaseService<T> {

    Message bulid(String type, int toMemberId, String[] value);

    int updateByToMemberId(int toMemberId);

    int updateOne(Map<String,Object> query);
}
